package com.cn.kehong.dao;

import com.cn.kehong.domain.PhysicalChemical;
import com.cn.kehong.domain.PhysicalChemicalExample;
import java.util.List;

import com.cn.kehong.domain.PhysicalChemicalVo;
import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface PhysicalChemicalMapper {
    int countByExample(PhysicalChemicalExample example);

    int deleteByExample(PhysicalChemicalExample example);

    int deleteByPrimaryKey(String id);

    int insert(PhysicalChemical record);

    int insertSelective(PhysicalChemical record);

    List<PhysicalChemical> selectByExample(PhysicalChemicalExample example);

    PhysicalChemical selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PhysicalChemical record, @Param("example") PhysicalChemicalExample example);

    int updateByExample(@Param("record") PhysicalChemical record, @Param("example") PhysicalChemicalExample example);

    int updateByPrimaryKeySelective(PhysicalChemical record);

    int updateByPrimaryKey(PhysicalChemical record);

    int getPhysicalChemicalsCount(QueryForm queryForm);

    List<PhysicalChemicalVo> getPhysicalChemicalsList(QueryForm queryForm);

    int getPhysicalGranularityCount(QueryForm queryForm);

    List<PhysicalChemicalVo> getPhysicalGranularity(QueryForm queryForm);

    int getPhysicalChemicalWaterCount(QueryForm queryForm);

    List<PhysicalChemicalVo> getPhysicalChemicalList(QueryForm queryForm);

    int getGranularityHavingCount(String testNumber);

    List<PhysicalChemicalVo> getGranularityHavingList(String testNumber);

    int getGranularityCount(QueryForm queryForm);

    int getWaterHavingCount(String testNumber);

    List<PhysicalChemicalVo> getWaterHavingList(String testNumber);

    List<PhysicalChemicalVo> getPhysicalChemicalsCheckList(QueryForm queryForm);

    int getPhysicalChemicalsCheckCount(QueryForm queryForm);

    int getPhysicalGranularityCheckCount(QueryForm queryForm);

    List<PhysicalChemicalVo> getPhysicalGranularityCheckList(QueryForm queryForm);

    List<PhysicalChemicalVo> getPhysicalChemicalDetailByWater(QueryForm queryForm,@Param("id") String id);

    List<PhysicalChemicalVo> getPhysicalChemicalDetailByAppLd(QueryForm queryForm,  @Param("id") String id);

    List<PhysicalChemicalVo> getPhysicalChemicalDetailByWaterDj(QueryForm queryForm,@Param("id") String id);

    List<PhysicalChemicalVo> getPhysicalChemicalDetailByAppLdDj(QueryForm queryForm, @Param("id") String id);
}